<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>spade.pyparsing.ParseElementEnhance</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="spade-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://spade2.googlecode.com">SPADE</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="spade-module.html">Package&nbsp;spade</a> ::
        <a href="spade.pyparsing-module.html">Module&nbsp;pyparsing</a> ::
        Class&nbsp;ParseElementEnhance
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="spade.pyparsing.ParseElementEnhance-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class ParseElementEnhance</h1><p class="nomargin-top"><span class="codelink"><a href="spade.pyparsing-pysrc.html#ParseElementEnhance">source&nbsp;code</a></span></p>
<center>
  <div class="private"><center>  <map id="uml_class_diagram_for_spade_py_61" name="uml_class_diagram_for_spade_py_61">
<area shape="rect" id="node2173" href="spade.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS" title="spade.pyparsing.ParserElement.DEFAULT_WHITE_CHARS" alt="" coords="417,31,777,49"/>
<area shape="rect" id="node2173" href="spade.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars" title="Overrides the default whitespace chars" alt="" coords="417,52,777,71"/>
<area shape="rect" id="node2173" href="spade.pyparsing.ParserElement-class.html#copy" title="Make a copy of this ParseElement." alt="" coords="417,71,777,89"/>
<area shape="rect" id="node2173" href="spade.pyparsing.ParserElement-class.html#setName" title="Define name for this expression, for use in debugging." alt="" coords="417,89,777,108"/>
<area shape="rect" id="node2173" href="spade.pyparsing.ParserElement-class.html#setResultsName" title="Define name for referencing matching tokens as a nested attribute of the &#160;returned parse results." alt="" coords="417,108,777,127"/>
<area shape="rect" id="node2173" href="spade.pyparsing.ParserElement-class.html#setParseAction" title="Define action to perform when successfully matching parse element &#160;definition." alt="" coords="417,127,777,145"/>
<area shape="rect" id="node2173" href="spade.pyparsing.ParserElement-class.html#skipIgnorables" title="spade.pyparsing.ParserElement.skipIgnorables" alt="" coords="417,145,777,164"/>
<area shape="rect" id="node2173" href="spade.pyparsing.ParserElement-class.html#preParse" title="spade.pyparsing.ParserElement.preParse" alt="" coords="417,164,777,183"/>
<area shape="rect" id="node2173" href="spade.pyparsing.ParserElement-class.html#postParse" title="spade.pyparsing.ParserElement.postParse" alt="" coords="417,183,777,201"/>
<area shape="rect" id="node2173" href="spade.pyparsing.ParserElement-class.html#parse" title="spade.pyparsing.ParserElement.parse" alt="" coords="417,201,777,220"/>
<area shape="rect" id="node2173" href="spade.pyparsing.ParserElement-class.html#tryParse" title="spade.pyparsing.ParserElement.tryParse" alt="" coords="417,220,777,239"/>
<area shape="rect" id="node2173" href="spade.pyparsing.ParserElement-class.html#parseString" title="Execute the parse expression with the given string." alt="" coords="417,239,777,257"/>
<area shape="rect" id="node2173" href="spade.pyparsing.ParserElement-class.html#scanString" title="Scan the input string for expression matches." alt="" coords="417,257,777,276"/>
<area shape="rect" id="node2173" href="spade.pyparsing.ParserElement-class.html#transformString" title="Extension to scanString, to modify matching text with modified tokens that &#160;may be returned from a parse action." alt="" coords="417,276,777,295"/>
<area shape="rect" id="node2173" href="spade.pyparsing.ParserElement-class.html#parseFile" title="Execute the parse expression on the given file or filename." alt="" coords="417,313,777,332"/>
<area shape="rect" id="node1" href="spade.pyparsing.ParserElement-class.html" title="Abstract base level parser element class." alt="" coords="405,6,789,338"/>
<area shape="rect" id="node2172" href="spade.pyparsing.ParseElementEnhance-class.html#__init__" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="463,391,731,409"/>
<area shape="rect" id="node2172" href="spade.pyparsing.ParseElementEnhance-class.html#parseImpl" title="spade.pyparsing.ParseElementEnhance.parseImpl" alt="" coords="463,409,731,428"/>
<area shape="rect" id="node2172" href="spade.pyparsing.ParseElementEnhance-class.html#leaveWhitespace" title="Disables the skipping of whitespace before matching the characters in the &#160;ParserElement&#39;s defined pattern." alt="" coords="463,428,731,447"/>
<area shape="rect" id="node2172" href="spade.pyparsing.ParseElementEnhance-class.html#ignore" title="Define expression to be ignored (e.g., comments) while doing pattern &#160;matching; may be called repeatedly, to define multiple comment or other &#160;ignorable patterns." alt="" coords="463,447,731,465"/>
<area shape="rect" id="node2172" href="spade.pyparsing.ParseElementEnhance-class.html#streamline" title="spade.pyparsing.ParseElementEnhance.streamline" alt="" coords="463,465,731,484"/>
<area shape="rect" id="node2172" href="spade.pyparsing.ParseElementEnhance-class.html#checkRecursion" title="spade.pyparsing.ParseElementEnhance.checkRecursion" alt="" coords="463,484,731,503"/>
<area shape="rect" id="node2172" href="spade.pyparsing.ParseElementEnhance-class.html#validate" title="Check defined expressions for valid structure, check for infinite recursive definitions." alt="" coords="463,503,731,521"/>
<area shape="rect" id="node2172" href="spade.pyparsing.ParseElementEnhance-class.html#__str__" title="str(x)" alt="" coords="463,521,731,540"/>
<area shape="rect" id="node10" href="spade.pyparsing.ParseElementEnhance-class.html" title="Abstract subclass of ParserElement, for combining and post&#45;processing parsed tokens." alt="" coords="451,358,741,546"/>
<area shape="rect" id="node2" href="spade.pyparsing.Forward-class.html" title="Forward declaration of an expression to be defined later &#45; used for recursive grammars, such as algebraic infix notation." alt="" coords="52,566,135,605"/>
<area shape="rect" id="node15" href="spade.pyparsing._ForwardNoRecurse-class.html" title="spade.pyparsing._ForwardNoRecurse" alt="" coords="5,625,163,663"/>
<area shape="rect" id="node3" href="spade.pyparsing.SkipTo-class.html" title="Token for skipping over all undefined text until the matched expression is found." alt="" coords="229,566,307,605"/>
<area shape="rect" id="node4" href="spade.pyparsing.TokenConverter-class.html" title="Abstract subclass of ParseExpression, for converting parsed results." alt="" coords="336,566,464,605"/>
<area shape="rect" id="node5" href="spade.pyparsing.Combine-class.html" title="Converter to concatenate all matching tokens to a single string." alt="" coords="192,625,280,663"/>
<area shape="rect" id="node7" href="spade.pyparsing.Group-class.html" title="Converter to return the matched tokens as a list &#45; useful for returning tokens of ZeroOrMore and OneOrMore expressions." alt="" coords="309,625,381,663"/>
<area shape="rect" id="node8" href="spade.pyparsing.Suppress-class.html" title="Converter for ignoring the results of a parsed expression." alt="" coords="411,625,501,663"/>
<area shape="rect" id="node13" href="spade.pyparsing.Dict-class.html" title="Converter to return a repetitive expression as a list, but also as a dictionary." alt="" coords="531,625,592,663"/>
<area shape="rect" id="node14" href="spade.pyparsing.Upcase-class.html" title="Converter to upper case all matching tokens." alt="" coords="621,625,701,663"/>
<area shape="rect" id="node6" href="spade.pyparsing.Optional-class.html" title="Optional matching of the given expression." alt="" coords="493,566,579,605"/>
<area shape="rect" id="node9" href="spade.pyparsing.FollowedBy-class.html" title="Lookahead matching of the given parse expression." alt="" coords="608,566,712,605"/>
<area shape="rect" id="node11" href="spade.pyparsing.ZeroOrMore-class.html" title="Optional repetition of zero or more of the given expression." alt="" coords="741,566,845,605"/>
<area shape="rect" id="node12" href="spade.pyparsing.OneOrMore-class.html" title="Repetition of one or more of the given expression." alt="" coords="875,566,979,605"/>
<area shape="rect" id="node16" href="spade.pyparsing.NotAny-class.html" title="Lookahead to disallow matching with the given parse expression." alt="" coords="1008,566,1088,605"/>
</map>
  <img src="uml_class_diagram_for_spade_py_61.gif" alt='' usemap="#uml_class_diagram_for_spade_py_61" ismap="ismap" class="graph-without-title" />
</center></div>
  <div class="public" style="display:none"><center>  <map id="uml_class_diagram_for_spade_py_62" name="uml_class_diagram_for_spade_py_62">
<area shape="rect" id="node2189" href="spade.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS" title="spade.pyparsing.ParserElement.DEFAULT_WHITE_CHARS" alt="" coords="305,31,665,49"/>
<area shape="rect" id="node2189" href="spade.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars" title="Overrides the default whitespace chars" alt="" coords="305,52,665,71"/>
<area shape="rect" id="node2189" href="spade.pyparsing.ParserElement-class.html#copy" title="Make a copy of this ParseElement." alt="" coords="305,71,665,89"/>
<area shape="rect" id="node2189" href="spade.pyparsing.ParserElement-class.html#setName" title="Define name for this expression, for use in debugging." alt="" coords="305,89,665,108"/>
<area shape="rect" id="node2189" href="spade.pyparsing.ParserElement-class.html#setResultsName" title="Define name for referencing matching tokens as a nested attribute of the &#160;returned parse results." alt="" coords="305,108,665,127"/>
<area shape="rect" id="node2189" href="spade.pyparsing.ParserElement-class.html#setParseAction" title="Define action to perform when successfully matching parse element &#160;definition." alt="" coords="305,127,665,145"/>
<area shape="rect" id="node2189" href="spade.pyparsing.ParserElement-class.html#skipIgnorables" title="spade.pyparsing.ParserElement.skipIgnorables" alt="" coords="305,145,665,164"/>
<area shape="rect" id="node2189" href="spade.pyparsing.ParserElement-class.html#preParse" title="spade.pyparsing.ParserElement.preParse" alt="" coords="305,164,665,183"/>
<area shape="rect" id="node2189" href="spade.pyparsing.ParserElement-class.html#postParse" title="spade.pyparsing.ParserElement.postParse" alt="" coords="305,183,665,201"/>
<area shape="rect" id="node2189" href="spade.pyparsing.ParserElement-class.html#parse" title="spade.pyparsing.ParserElement.parse" alt="" coords="305,201,665,220"/>
<area shape="rect" id="node2189" href="spade.pyparsing.ParserElement-class.html#tryParse" title="spade.pyparsing.ParserElement.tryParse" alt="" coords="305,220,665,239"/>
<area shape="rect" id="node2189" href="spade.pyparsing.ParserElement-class.html#parseString" title="Execute the parse expression with the given string." alt="" coords="305,239,665,257"/>
<area shape="rect" id="node2189" href="spade.pyparsing.ParserElement-class.html#scanString" title="Scan the input string for expression matches." alt="" coords="305,257,665,276"/>
<area shape="rect" id="node2189" href="spade.pyparsing.ParserElement-class.html#transformString" title="Extension to scanString, to modify matching text with modified tokens that &#160;may be returned from a parse action." alt="" coords="305,276,665,295"/>
<area shape="rect" id="node2189" href="spade.pyparsing.ParserElement-class.html#parseFile" title="Execute the parse expression on the given file or filename." alt="" coords="305,313,665,332"/>
<area shape="rect" id="node1" href="spade.pyparsing.ParserElement-class.html" title="Abstract base level parser element class." alt="" coords="293,6,677,338"/>
<area shape="rect" id="node2188" href="spade.pyparsing.ParseElementEnhance-class.html#__init__" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="351,391,619,409"/>
<area shape="rect" id="node2188" href="spade.pyparsing.ParseElementEnhance-class.html#parseImpl" title="spade.pyparsing.ParseElementEnhance.parseImpl" alt="" coords="351,409,619,428"/>
<area shape="rect" id="node2188" href="spade.pyparsing.ParseElementEnhance-class.html#leaveWhitespace" title="Disables the skipping of whitespace before matching the characters in the &#160;ParserElement&#39;s defined pattern." alt="" coords="351,428,619,447"/>
<area shape="rect" id="node2188" href="spade.pyparsing.ParseElementEnhance-class.html#ignore" title="Define expression to be ignored (e.g., comments) while doing pattern &#160;matching; may be called repeatedly, to define multiple comment or other &#160;ignorable patterns." alt="" coords="351,447,619,465"/>
<area shape="rect" id="node2188" href="spade.pyparsing.ParseElementEnhance-class.html#streamline" title="spade.pyparsing.ParseElementEnhance.streamline" alt="" coords="351,465,619,484"/>
<area shape="rect" id="node2188" href="spade.pyparsing.ParseElementEnhance-class.html#checkRecursion" title="spade.pyparsing.ParseElementEnhance.checkRecursion" alt="" coords="351,484,619,503"/>
<area shape="rect" id="node2188" href="spade.pyparsing.ParseElementEnhance-class.html#validate" title="Check defined expressions for valid structure, check for infinite recursive definitions." alt="" coords="351,503,619,521"/>
<area shape="rect" id="node2188" href="spade.pyparsing.ParseElementEnhance-class.html#__str__" title="str(x)" alt="" coords="351,521,619,540"/>
<area shape="rect" id="node10" href="spade.pyparsing.ParseElementEnhance-class.html" title="Abstract subclass of ParserElement, for combining and post&#45;processing parsed tokens." alt="" coords="339,358,629,546"/>
<area shape="rect" id="node2" href="spade.pyparsing.Forward-class.html" title="Forward declaration of an expression to be defined later &#45; used for recursive grammars, such as algebraic infix notation." alt="" coords="5,566,88,605"/>
<area shape="rect" id="node3" href="spade.pyparsing.SkipTo-class.html" title="Token for skipping over all undefined text until the matched expression is found." alt="" coords="117,566,195,605"/>
<area shape="rect" id="node4" href="spade.pyparsing.TokenConverter-class.html" title="Abstract subclass of ParseExpression, for converting parsed results." alt="" coords="224,566,352,605"/>
<area shape="rect" id="node5" href="spade.pyparsing.Combine-class.html" title="Converter to concatenate all matching tokens to a single string." alt="" coords="24,625,112,663"/>
<area shape="rect" id="node7" href="spade.pyparsing.Group-class.html" title="Converter to return the matched tokens as a list &#45; useful for returning tokens of ZeroOrMore and OneOrMore expressions." alt="" coords="141,625,213,663"/>
<area shape="rect" id="node8" href="spade.pyparsing.Suppress-class.html" title="Converter for ignoring the results of a parsed expression." alt="" coords="243,625,333,663"/>
<area shape="rect" id="node13" href="spade.pyparsing.Dict-class.html" title="Converter to return a repetitive expression as a list, but also as a dictionary." alt="" coords="363,625,424,663"/>
<area shape="rect" id="node14" href="spade.pyparsing.Upcase-class.html" title="Converter to upper case all matching tokens." alt="" coords="453,625,533,663"/>
<area shape="rect" id="node6" href="spade.pyparsing.Optional-class.html" title="Optional matching of the given expression." alt="" coords="381,566,467,605"/>
<area shape="rect" id="node9" href="spade.pyparsing.FollowedBy-class.html" title="Lookahead matching of the given parse expression." alt="" coords="496,566,600,605"/>
<area shape="rect" id="node11" href="spade.pyparsing.ZeroOrMore-class.html" title="Optional repetition of zero or more of the given expression." alt="" coords="629,566,733,605"/>
<area shape="rect" id="node12" href="spade.pyparsing.OneOrMore-class.html" title="Repetition of one or more of the given expression." alt="" coords="763,566,867,605"/>
<area shape="rect" id="node15" href="spade.pyparsing.NotAny-class.html" title="Lookahead to disallow matching with the given parse expression." alt="" coords="896,566,976,605"/>
</map>
  <img src="uml_class_diagram_for_spade_py_62.gif" alt='' usemap="#uml_class_diagram_for_spade_py_62" ismap="ismap" class="graph-without-title" />
</center></div>
</center>
<hr />
<p>Abstract subclass of ParserElement, for combining and post-processing 
  parsed tokens.</p>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.pyparsing.ParseElementEnhance-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">expr</span>,
        <span class="summary-sig-arg">savelist</span>=<span class="summary-sig-default">False</span>)</span><br />
      x.__init__(...) initializes x; see help(type(x)) for signature</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.pyparsing-pysrc.html#ParseElementEnhance.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.pyparsing.ParseElementEnhance-class.html#parseImpl" class="summary-sig-name">parseImpl</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">instring</span>,
        <span class="summary-sig-arg">loc</span>,
        <span class="summary-sig-arg">doActions</span>=<span class="summary-sig-default">True</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.pyparsing-pysrc.html#ParseElementEnhance.parseImpl">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.pyparsing.ParseElementEnhance-class.html#leaveWhitespace" class="summary-sig-name">leaveWhitespace</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Disables the skipping of whitespace before matching the characters in
      the ParserElement's defined pattern.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.pyparsing-pysrc.html#ParseElementEnhance.leaveWhitespace">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.pyparsing.ParseElementEnhance-class.html#ignore" class="summary-sig-name">ignore</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">other</span>)</span><br />
      Define expression to be ignored (e.g., comments) while doing pattern 
      matching; may be called repeatedly, to define multiple comment or 
      other ignorable patterns.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.pyparsing-pysrc.html#ParseElementEnhance.ignore">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.pyparsing.ParseElementEnhance-class.html#streamline" class="summary-sig-name">streamline</a>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.pyparsing-pysrc.html#ParseElementEnhance.streamline">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.pyparsing.ParseElementEnhance-class.html#checkRecursion" class="summary-sig-name">checkRecursion</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">parseElementList</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.pyparsing-pysrc.html#ParseElementEnhance.checkRecursion">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.pyparsing.ParseElementEnhance-class.html#validate" class="summary-sig-name">validate</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">validateTrace</span>=<span class="summary-sig-default"><code class="variable-group">[</code><code class="variable-group">]</code></span>)</span><br />
      Check defined expressions for valid structure, check for infinite 
      recursive definitions.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.pyparsing-pysrc.html#ParseElementEnhance.validate">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.pyparsing.ParseElementEnhance-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">self</span>)</span><br />
      str(x)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.pyparsing-pysrc.html#ParseElementEnhance.__str__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="spade.pyparsing.ParserElement-class.html">ParserElement</a></code></b>:
      <code><a href="spade.pyparsing.ParserElement-class.html#__add__">__add__</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#__and__">__and__</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#__invert__">__invert__</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#__or__">__or__</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#__radd__">__radd__</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#__rand__">__rand__</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#__repr__">__repr__</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#__ror__">__ror__</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#__rxor__">__rxor__</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#__xor__">__xor__</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#copy">copy</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#parse">parse</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#parseFile">parseFile</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#parseString">parseString</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#parseWithTabs">parseWithTabs</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#postParse">postParse</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#preParse">preParse</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#scanString">scanString</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#setDebug">setDebug</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#setDebugActions">setDebugActions</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#setName">setName</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#setParseAction">setParseAction</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#setResultsName">setResultsName</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#setWhitespaceChars">setWhitespaceChars</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#skipIgnorables">skipIgnorables</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#suppress">suppress</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#transformString">transformString</a></code>,
      <code><a href="spade.pyparsing.ParserElement-class.html#tryParse">tryParse</a></code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__format__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__new__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__setattr__</code>,
      <code>__sizeof__</code>,
      <code>__subclasshook__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== STATIC METHODS ==================== -->
<a name="section-StaticMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Static Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-StaticMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="spade.pyparsing.ParserElement-class.html">ParserElement</a></code></b>:
      <code><a href="spade.pyparsing.ParserElement-class.html#setDefaultWhitespaceChars">setDefaultWhitespaceChars</a></code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== CLASS VARIABLES ==================== -->
<a name="section-ClassVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Class Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-ClassVariables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="spade.pyparsing.ParserElement-class.html">ParserElement</a></code></b>:
      <code><a href="spade.pyparsing.ParserElement-class.html#DEFAULT_WHITE_CHARS">DEFAULT_WHITE_CHARS</a></code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Properties</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Properties"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">expr</span>,
        <span class="sig-arg">savelist</span>=<span class="sig-default">False</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.pyparsing-pysrc.html#ParseElementEnhance.__init__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>x.__init__(...) initializes x; see help(type(x)) for signature</p>
  <dl class="fields">
    <dt>Overrides:
        object.__init__
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="parseImpl"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">parseImpl</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">instring</span>,
        <span class="sig-arg">loc</span>,
        <span class="sig-arg">doActions</span>=<span class="sig-default">True</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.pyparsing-pysrc.html#ParseElementEnhance.parseImpl">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  
  <dl class="fields">
    <dt>Overrides:
        <a href="spade.pyparsing.ParserElement-class.html#parseImpl">ParserElement.parseImpl</a>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="leaveWhitespace"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">leaveWhitespace</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.pyparsing-pysrc.html#ParseElementEnhance.leaveWhitespace">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Disables the skipping of whitespace before matching the characters in 
  the ParserElement's defined pattern.  This is normally only used 
  internally by the pyparsing module, but may be needed in some 
  whitespace-sensitive grammars.</p>
  <dl class="fields">
    <dt>Overrides:
        <a href="spade.pyparsing.ParserElement-class.html#leaveWhitespace">ParserElement.leaveWhitespace</a>
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="ignore"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">ignore</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">other</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.pyparsing-pysrc.html#ParseElementEnhance.ignore">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Define expression to be ignored (e.g., comments) while doing pattern 
  matching; may be called repeatedly, to define multiple comment or other 
  ignorable patterns.</p>
  <dl class="fields">
    <dt>Overrides:
        <a href="spade.pyparsing.ParserElement-class.html#ignore">ParserElement.ignore</a>
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="streamline"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">streamline</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.pyparsing-pysrc.html#ParseElementEnhance.streamline">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  
  <dl class="fields">
    <dt>Overrides:
        <a href="spade.pyparsing.ParserElement-class.html#streamline">ParserElement.streamline</a>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="checkRecursion"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">checkRecursion</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">parseElementList</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.pyparsing-pysrc.html#ParseElementEnhance.checkRecursion">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  
  <dl class="fields">
    <dt>Overrides:
        <a href="spade.pyparsing.ParserElement-class.html#checkRecursion">ParserElement.checkRecursion</a>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="validate"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">validate</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">validateTrace</span>=<span class="sig-default"><code class="variable-group">[</code><code class="variable-group">]</code></span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.pyparsing-pysrc.html#ParseElementEnhance.validate">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Check defined expressions for valid structure, check for infinite 
  recursive definitions.</p>
  <dl class="fields">
    <dt>Overrides:
        <a href="spade.pyparsing.ParserElement-class.html#validate">ParserElement.validate</a>
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="__str__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">self</span>)</span>
    <br /><em class="fname">(Informal representation operator)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.pyparsing-pysrc.html#ParseElementEnhance.__str__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>str(x)</p>
  <dl class="fields">
    <dt>Overrides:
        object.__str__
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="spade-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://spade2.googlecode.com">SPADE</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Wed Aug  1 18:44:53 2012
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
